interface ResponseType<T> {
  msg?: string;
  code: 200 | 500;
  data: T;
}

interface Params {
  [key: string]: unknown;
}

interface Data {
  index: unknown;
}

export type { ResponseType, Params, Data };
//   type RequestFn = (Params) => Promise<any>;
